package cn.hanna.springcloud;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.ConfigurableApplicationContext;

/**
 * @author smileha
 * @create 2021-10-15 23:49
 * @description
 */

@MapperScan(basePackages = "cn.hanna.springcloud.mapper")
@SpringBootApplication
@EnableEurekaClient // 表明该应用是eureka的连接端
public class PaymentMainApplication8001 {

    public static void main(String[] args) {
        ConfigurableApplicationContext run = SpringApplication.run(PaymentMainApplication8001.class, args);
    }
}
